package com.black.common.vo;

import com.black.common.entity.BaseEntity;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author linwenfeng
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ShareUserVo extends BaseEntity {
    /**编号**/
    private String serialNo;
    /**用户名**/
    private String username;
    /**姓名**/
    private String name;
    /**密码**/
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String password;
    /**头像**/
    private String iconUrl;
    /**手机号码**/
    private String mobile;
    /**生日**/
    private LocalDate birthday;
    /**证件类型**/
    private String identityType;
    /**证件号码**/
    private String identityNo;
    /**地址**/
    private String address;
    /**年龄**/
    private Integer age;
    /**性别**/
    private String sex;
    /**归属代码**/
    private String comCode;
    /**起效日期**/
    private LocalDateTime startDate;
    /**截止日期**/
    private LocalDateTime endDate;

    private String openId;

    private String unionId;
}
